﻿#pragma once

#include "Object.h"
#include <string>

class Mesh : public Object
{
public:
  Mesh(const Configuration& cfg)
    : Object(cfg)
    , _file(Get<std::string>("file"))
    , _bnd_names(Get<std::vector<std::string>>("boundary_name"))
    , _bnd_ids(Get<std::vector<int>>("boundary_id"))
  {
  }

  virtual ~Mesh() = default;

public:
  std::string _file;
  std::vector<std::string> _bnd_names;
  std::vector<int> _bnd_ids;
};

class FileMesh : public Mesh
{
public:
  FileMesh(const Configuration& cfg)
    : Mesh(cfg)
  {
  }

private:
};
